﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Windows.Input;

using Resxus.DataAccess;

namespace Resxus.ViewModel
{
    public class ToolBarVM : ViewModelBase
    {

    #region Fields

        ResFilesRepository _repository;

    #endregion //Fields

    #region Constructor

        public ToolBarVM(ResFilesRepository repository)
        {
            _repository = repository;
        }

    #endregion //Constructor

    #region Commands

        ICommand _UpdateCommand = null;
        public ICommand UpdateCommand
        {
            get
            {
                if (_UpdateCommand == null)
                {
                    _UpdateCommand = new RelayCommand(param => Update());
                }
                return _UpdateCommand;
            }
        }

    #endregion //Commands

    #region Binding Properties
    #endregion //Binding Properties

    #region Private Helpers
    #endregion //Private Helpers

    #region Public Methods 

        public void Update()
        {

        }

    #endregion //Public Methods
        
    }
}
